# @Timer:2022/3/27
# @作者:meng
# @文件名:python直播课2.py
import math

class RedWars:

    name = ""
    #发钱金额
    money_num = 0
    #账户余额
    balance
    #抢红包人数
    person_num

    @classmethod
    def giveoutmoney(cls,money_num,balance,person_num):
        '''发红包'''
        __balance = balance
        money_num = money_num
        person_num = person_num


    def robmoney(self,money_num,balance,person_num):
        '''抢红包'''
        if money_num > 0 and person_num > 0:
            balance = math.floor(money_num // person_num)
            print("前")


